export interface TableOptions {
    border?: boolean; //是否带有纵向边框
    stripe?: boolean; //是否为斑马纹 table
    fit?: boolean; //列的宽度是否自撑开
    'show-header'?: boolean; //是否显示表头
    size?: any; //Table 的尺寸
    height?: string | number; //Table 的高度
    'max-height'?: string | number; //Table 的最大高度
}
export interface Pagination {
    layout?: string;
    'page-sizes'?: Array<number>;
    small: boolean;
    disabled: boolean;
    background: boolean;
    currentPage: number;
    pageSize: number;
    total: number;
}
export interface TableListItem {
    label: string; //标题
    prop: string; //对应字段
    width?: string; //表格每一项宽度
    slot?: boolean; //是否有插槽
    fixed?: string | boolean; //是否固定列
    sortable?: boolean; //是否排序
    align?: string; //对齐方式
    formatter?: (row: any, column: any, cellValue: any, index: number) => VNode | string; //格式化数据
}
export interface TableApi {
    api: (params?: Object) => Promise<any>;
    params: Object;
    pageSize: string;
    pageNumber: string;
    formatResults: (res: any) => any;
}
